<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <a href="https://www.baidu.com"> 百度点一下</a><br>
    <!--v-bind让元素的xxx属性和变量进行绑定-->
    <a v-bind:href="url">点一下</a><br>
    <!--简写的属性绑定-->
    <a :href="url">点一下</a><br>
    
    <input type="button" :value="info">
    <img src="a.jpg">
    <img :src="imageName">
</div>
<!--引入vue-->>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.14/vue.js"></script>
<script>
    let v = new Vue({
        el:"div",
        data:{
            url:"https://www.jd.com",
            info:"登录",
            imageName:"c.jpg"
        }
    })
</script>
</body>
</html>